package com.nit.lab.dto;

import com.nit.lab.model.BaseOrderFileEntity;

public class DtoOrderFile {
    private Integer orderFileId;
    private Integer fileId;
    private Integer paperSizeId;
    private Integer paperColorId;
    private Integer paperTypeId;
    private Integer printCount;
    private Double filePrice;
    private String fileName;

    public DtoOrderFile() {
    }

    public DtoOrderFile(String fileName, Integer orderFileId, Integer fileId, Integer paperSizeId, Integer paperColorId, Integer paperTypeId, Integer printCount, Double filePrice) {
        this.orderFileId = orderFileId;
        this.fileId = fileId;
        this.paperSizeId = paperSizeId;
        this.paperColorId = paperColorId;
        this.paperTypeId = paperTypeId;
        this.printCount = printCount;
        this.filePrice = filePrice;
        this.fileName = fileName;
    }

    public Integer getOrderFileId() {
        return orderFileId;
    }

    public void setOrderFileId(Integer orderFileId) {
        this.orderFileId = orderFileId;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }


    public Integer getPaperSizeId() {
        return paperSizeId;
    }

    public void setPaperSizeId(Integer paperSizeId) {
        this.paperSizeId = paperSizeId;
    }

    public Integer getPaperColorId() {
        return paperColorId;
    }

    public void setPaperColorId(Integer paperColorId) {
        this.paperColorId = paperColorId;
    }

    public Integer getPaperTypeId() {
        return paperTypeId;
    }

    public void setPaperTypeId(Integer paperTypeId) {
        this.paperTypeId = paperTypeId;
    }

    public Integer getprintCount() {
        return printCount;
    }

    public void setprintCount(Integer printCount) {
        this.printCount = printCount;
    }

    public Double getFilePrice() {
        return filePrice;
    }

    public void setFilePrice(Double filePrice) {
        this.filePrice = filePrice;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public BaseOrderFileEntity toBEAN() {
        BaseOrderFileEntity baseOrderFileEntity = new BaseOrderFileEntity();
        baseOrderFileEntity.setOrderFileId(orderFileId);
        baseOrderFileEntity.setFileId(fileId);
        baseOrderFileEntity.setPaperSizeId(paperSizeId);
        baseOrderFileEntity.setPaperColorId(paperColorId);
        baseOrderFileEntity.setPaperTypeId(paperTypeId);
        baseOrderFileEntity.setPrintCount(printCount);
        baseOrderFileEntity.setFilePrice(filePrice);
        return baseOrderFileEntity;
    }
}
